package com.tnovoselec.android.nfc;

import android.os.Bundle;


public abstract class ForegroundDispatchActivity extends TechFilterActivity {

	protected NfcForegroundUtil nfcForegroundUtil = null;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		nfcForegroundUtil = new NfcForegroundUtil(this);
	}

	@Override
	public void onPause() {
		super.onPause();
		nfcForegroundUtil.disableForeground();
	}

	@Override
	public void onResume() {
		super.onResume();
		nfcForegroundUtil.enableForeground();
	}
}